Skip to content

docs: replace ambiguous 'reflect' jargon in configuration options#420

Open
Prawshant123-ui wants to merge 1 commit into
expressjs:masterfrom
Prawshant123-ui:docs/improve-readme-clarity
Open

docs: replace ambiguous 'reflect' jargon in configuration options#420
Prawshant123-ui wants to merge 1 commit into
expressjs:masterfrom
Prawshant123-ui:docs/improve-readme-clarity

Conversation

@Prawshant123-ui

@Prawshant123-ui Prawshant123-ui commented Jun 7, 2026

Copy link
Copy Markdown

What

Replaced the word "reflect" in the origin option description
with clearer language that better explains the actual behavior.

Why

Closes #384

The word "reflect" is jargon that confused users. The new wording
clarifies that the request's Origin header is simply echoed back
in the response.

Changes

  • Boolean option: "reflect the request origin" → "mirror the request's Origin header back"
  • RegExp option: "will be reflected" → "will be echoed back as the allowed origin"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs should better explain what this package actually does

1 participant